package interfaces;

import java.io.IOException;
import java.io.OutputStream;

import javax.swing.JTextArea;

public class Sortie extends OutputStream{
	
	JTextArea log;
	
	public Sortie(JTextArea log) {
		this.log = log;
		
	}

	public void write(int b) throws IOException {
		String str = String.valueOf((char)b);
		log.append(str);
	}
}
